This is a nice guide that explains everything you need to do, and has a convenient little installer
If using a very early release of raspberry pi 4 you may need to update the bootloader. Otherwise, double and triple check your wiring and pin usage is correct. Refer to the Raspberry Pi pinout